home *** CD-ROM | disk | FTP | other *** search
/ Space Shuttle - The First 100 Flights / Space Shuttle - The First 100 Flights.iso / trivia.dir / 00022_Script_22 < prev    next >
Text File  |  2000-11-09  |  924b  |  38 lines

  1. on exitFrame me
  2.   if the timer < (30 * 30) then
  3.     
  4.     global gTheAnswer, gCorrect, Ticker
  5.         
  6.     if rollover(20) then
  7.       set the membernum of sprite 20 to 41
  8.     else
  9.       set the membernum of sprite 20 to 40
  10.     end if
  11.     
  12.     if rollover(21) then
  13.       set the membernum of sprite 21 to 31
  14.     else
  15.       set the membernum of sprite 21 to 30
  16.     end if
  17.     
  18.     if gTheAnswer <> gCorrect then
  19.       Ticker = Ticker + 1
  20.       if Ticker = 11 then Ticker = 0
  21.       if Ticker = 5 then
  22.         set the blend of sprite (23+(integer(gCorrect))) to 100
  23.         set the blend of sprite (27+(integer(gCorrect))) to 100
  24.       end if
  25.       if Ticker = 10 then
  26.         set the blend of sprite (23+(integer(gCorrect))) to 0
  27.         set the blend of sprite (27+(integer(gCorrect))) to 0
  28.       end if
  29.     end if
  30.     
  31.  
  32.     go to the frame
  33.   else
  34.     go to frame "exit"
  35.   end if
  36.   
  37.   
  38. end